// react库
var React = require('react');
var ReactDom = require('react-dom');
// react路由
var ReactRouter = require('react-router');
var Route = require('./route.jsx');
// 路由容器
var Router = ReactRouter.Router;
// 使用h5方式跳转路由
var browserHistory = ReactRouter.browserHistory;
ReactDom.render(
    (<Router history={browserHistory}>{Route}</Router>),
    document.getElementById('main'));